//封装token的存，取，删除操作
const TOKENKEY = 'token_key'
function setToken(token){
    localStorage.setItem(TOKENKEY,token)
}

function getToken(){
   
   return localStorage.getItem(TOKENKEY)
}

function removeToken(){
    localStorage.removeItem(TOKENKEY)
}

export{setToken,getToken,removeToken}